Class Scenario: Add Relationship

6

tests

0

failures

0

ignored

0.742s

duration

100%

successful

Tests

Test Duration Result
And its "accounts" link is followed 0s passed
And the controller's root has an "accounts" link to an "Accounts" domain entity 0s passed
Given a Hyperstate controller "hyperstateTestController" at "/hyperstateTest" 0s passed
Then the response will be a "Accounts" domain entity 0.001s passed
When request is made to "/hyperstateTest" 0s passed
classMethod 0.741s passed

Standard output

2016-07-01 04:03:11.290  INFO 3009 --- [    Test worker] o.s.t.c.support.AbstractContextLoader    : Could not detect default resource locations for test class [au.com.mountainpass.hyperstate.server.StepDefs]: no resource found for suffixes {-context.xml, Context.groovy}.
2016-07-01 04:03:11.292  INFO 3009 --- [    Test worker] WebAppIntegrationTestContextBootstrapper : Loaded default TestExecutionListener class names from location [META-INF/spring.factories]: [org.springframework.test.context.web.ServletTestExecutionListener, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener, org.springframework.test.context.support.DependencyInjectionTestExecutionListener, org.springframework.test.context.support.DirtiesContextTestExecutionListener, org.springframework.test.context.transaction.TransactionalTestExecutionListener, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener]
2016-07-01 04:03:11.293  INFO 3009 --- [    Test worker] WebAppIntegrationTestContextBootstrapper : Using TestExecutionListeners: [org.springframework.test.context.web.ServletTestExecutionListener@6dc6ad, org.springframework.test.context.support.DirtiesContextBeforeModesTestExecutionListener@525a95c6, org.springframework.test.context.support.DependencyInjectionTestExecutionListener@1ae8b068, org.springframework.test.context.support.DirtiesContextTestExecutionListener@3e50c7ec, org.springframework.test.context.transaction.TransactionalTestExecutionListener@50e62625, org.springframework.test.context.jdbc.SqlScriptsTestExecutionListener@56947d5a]
2016-07-01 04:03:11.293  INFO 3009 --- [    Test worker] o.s.b.f.s.DefaultListableBeanFactory     : Replacing scope 'cucumber-glue' from [cucumber.runtime.java.spring.GlueCodeScope@31f7256f] to [cucumber.runtime.java.spring.GlueCodeScope@5041ea7a]

  @tom
  Scenario: Get Controller Root                                                   ?[90m# serviceExposer.feature:8?[0m
    ?[32mGiven ?[0m?[32ma Hyperstate controller "?[0m?[32m?[1mhyperstateTestController?[0m?[32m" at "?[0m?[32m?[1m/hyperstateTest?[0m?[32m"?[0m ?[90m# StepDefs.a_Hyperstate_controller_at(String,String)?[0m
    ?[32mWhen ?[0m?[32mrequest is made to "?[0m?[32m?[1m/hyperstateTest?[0m?[32m"?[0m                                     ?[90m# StepDefs.request_is_made_to(String)?[0m
    ?[32mThen ?[0m?[32mthe response will be a "?[0m?[32m?[1mHyperstateRootEntity?[0m?[32m" domain entity?[0m              ?[90m# StepDefs.the_response_will_be_an_domain_entity(String)?[0m
    ?[32mAnd ?[0m?[32mit will have a self link referencing "?[0m?[32m?[1m/hyperstateTest?[0m?[32m"?[0m                    ?[90m# StepDefs.it_will_have_a_self_link_referencing(String)?[0m